import { applyDecorators,Get,UseGuards } from "@nestjs/common";
import { AaaGuard } from "./aaa.guard";
import { Aaa } from "./aaa.decorator";

export function Bbb(path,...role:any) {
    return applyDecorators(
        Get(path),
        Aaa(...role),
        UseGuards(AaaGuard)
    )
}
